<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    

    
<!-- 4、打印1-100中7的倍数 和 带7的数字（7,14,17,21,27,28.....） -->

<script>
    var num=1;
    while(num<=100){
        if(num%7==0 || num%10==7 || parseInt(num/10)==7){
            document.write(num+ ' ')
        }
        num++
    }
</script> 

<br>
<br>
<br>

<!-- ------------------------------------------------------------- -->
</body>
</html>